package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.omniorder.store.getconsignmailcode response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OmniorderStoreGetconsignmailcodeResponse extends TaobaoResponse {

	private static final long serialVersionUID = 3869896975586178637L;

	/** 
	 * result
	 */
	@ApiField("result")
	private Result result;


	public void setResult(Result result) {
		this.result = result;
	}
	public Result getResult( ) {
		return this.result;
	}
	
	/**
 * 发货信息
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class GetStoreConsignCodeResponse extends TaobaoObject {

	private static final long serialVersionUID = 3732464669954449775L;

	/**
		 * 面单号
		 */
		@ApiField("mail_no")
		private String mailNo;
		/**
		 * 包裹Id, 后续发货需要使用
		 */
		@ApiField("package_id")
		private String packageId;
		/**
		 * 打印机内容
		 */
		@ApiField("print_data")
		private String printData;
		/**
		 * 菜鸟生成的标签号
		 */
		@ApiField("tag_code")
		private String tagCode;
	

	public String getMailNo() {
			return this.mailNo;
		}
		public void setMailNo(String mailNo) {
			this.mailNo = mailNo;
		}
		public String getPackageId() {
			return this.packageId;
		}
		public void setPackageId(String packageId) {
			this.packageId = packageId;
		}
		public String getPrintData() {
			return this.printData;
		}
		public void setPrintData(String printData) {
			this.printData = printData;
		}
		public String getTagCode() {
			return this.tagCode;
		}
		public void setTagCode(String tagCode) {
			this.tagCode = tagCode;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Result extends TaobaoObject {

	private static final long serialVersionUID = 7829519519955416755L;

	/**
		 * 发货信息
		 */
		@ApiField("data")
		private GetStoreConsignCodeResponse data;
		/**
		 * code
		 */
		@ApiField("err_code")
		private String errCode;
		/**
		 * message
		 */
		@ApiField("message")
		private String message;
	

	public GetStoreConsignCodeResponse getData() {
			return this.data;
		}
		public void setData(GetStoreConsignCodeResponse data) {
			this.data = data;
		}
		public String getErrCode() {
			return this.errCode;
		}
		public void setErrCode(String errCode) {
			this.errCode = errCode;
		}
		public String getMessage() {
			return this.message;
		}
		public void setMessage(String message) {
			this.message = message;
		}

}



}
